package com.ocm.product.es;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SpuES {

	@JsonSerialize(using = ToStringSerializer.class)
	private Long spuId;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long hotStore;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long saleCount;

	private BigDecimal priceMin;

	private String spuTitle;

	private String spuLabel;

	private String categoryName;

	private String spuThumb;

	private Boolean hasStock;

	private List<AttrES> attrs;

	private Boolean hasVideo;

	private Boolean isV;

	private String shopName;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long shopId;

	private String shopAvatar;
}
